<!--续约-->
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Allot_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-buser_id" data-rule="" disabled class="form-control "  type="text" value="{$data.username}">
      <!--      <input id="c-buser_id" data-rule="required" data-source="crm/Cooperation/cooperation_buser" data-field="username" data-pagination="false" data-params='{"keyField":""}' class="form-control selectpage"  type="text" value="{$data.id}">-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('产品')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product" data-rule="" disabled class="form-control "  type="text" value="{$data.product}">
            <!--      <input id="c-buser_id" data-rule="required" data-source="crm/Cooperation/cooperation_buser" data-field="username" data-pagination="false" data-params='{"keyField":""}' class="form-control selectpage" name="row[allot_id]" type="text" value="{$data.id}">-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Myname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-myname" data-rule="required" class="form-control" name="row[myname]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mytel')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mytel" data-rule="required" class="form-control" name="row[mytel]" type="number" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Othername')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-othername" data-rule="required" class="form-control" name="row[othername]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Othertel')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-othertel" data-rule="required" class="form-control" name="row[othertel]" type="number" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mode')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mode" data-rule="required" class="form-control" name="row[mode]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Much')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-much" data-rule="required" class="form-control" step="0.01" name="row[much]" type="number" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Assessment')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-assessment" data-rule="required" class="form-control" step="0.01" name="row[assessment]" type="text" value="" >
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Risetime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-risetime" data-rule="required" class="form-control datetimepicker"  data-date-min-date="{:date('Y-m-d',time())}" data-date-format="YYYY-MM-DD"  name="row[risetime]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Endtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-endtime" data-rule="required" class="form-control datetimepicker"  data-date-min-date="{:date('Y-m-d',strtotime('+1 day'))}"  data-date-format="YYYY-MM-DD" name="row[endtime]" type="text">
        </div>
    </div>
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Chartimages')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-chartimages" data-rule="required" class="form-control" size="50" name="row[chartimages]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-chartimages" class="btn btn-danger plupload" data-input-id="c-chartimages" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-chartimages"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-chartimages" class="btn btn-primary fachoose" data-input-id="c-chartimages" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-chartimages"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-chartimages"></ul>
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cooperationfiles')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-cooperationfiles" data-rule="" class="form-control" size="50" name="row[cooperationfiles]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-cooperationfiles" class="btn btn-danger plupload" data-input-id="c-cooperationfiles" data-multiple="true" data-preview-id="p-cooperationfiles"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-cooperationfiles" class="btn btn-primary fachoose" data-input-id="c-cooperationfiles" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-cooperationfiles"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-cooperationfiles"></ul>
        </div>
    </div>
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Statuslist')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="c-sectionlist" data-rule="required" class="form-control selectpicker" name="row[statuslist]">
                {foreach name="statusList" item="vo"}
                <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>-->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
